package p.ithorns.tools.translator.sdk;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import p.ithorns.tools.translator.sdk.handler.*;

/**
 * 转换器配置类
 * 约定自定义转换器都放在api包的transformer目录下，方便给其他模块使用
 *
 * @author R
 */
@Configuration
@ComponentScan("p.ithorns.**.translator")
@Import({
        EnumTranslator.class,
        MapTranslator.class,
        SvcTranslator.class,
        BeanTranslator.class,
        SpElTranslator.class,
        ModelTranslator.class
})
public class TranslatorConfig {

}
